//
//  AppDelegate.m
//

#import "AppDelegate.h"
#import "LRLoginVC.h"
#import "NaviVC.h"

@interface AppDelegate ()


@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  

    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    
    [self goToLogin];
    
    return YES;
}


-(void)goToLogin{
    LRLoginVC *loginVC = [[LRLoginVC alloc]init];
    NaviVC *navi = [[NaviVC alloc] initWithRootViewController:loginVC];
    self.window.rootViewController = navi;
    self.window.backgroundColor = [UIColor whiteColor];
    [self.window makeKeyAndVisible];
}


@end
